package com.pycredit.exception;

public class BizException extends Exception {

	private static final long serialVersionUID = 3512025572861509297L;

	private String errorCode;

	public BizException() {
	}

	public BizException(String message) {
		super(message);
	}

	public BizException(String errorCode, String message) {
		super(message);
		this.errorCode = errorCode;

	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

}
